#include <jni.h>
#include <string>

extern "C"
JNIEXPORT jstring JNICALL
Java_io_github_mayubao_tinkerpatch_1sample_MainActivity_stringFromJNI(
        JNIEnv *env,
        jobject /* this */) {
//    std::string hello = "Hello from C++";

    //bug2 修复JNI的内容
    std::string hello = "Change Text from C++";
    return env->NewStringUTF(hello.c_str());
}
